Part Number Hot Search : 
STAC9228 U2941A 20A10 M5238 150150 UPD17051 50N06 SOD168V3
Product Description
Full Text Search
 

To Download UT84520 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 UTC UT84520
PS/2 SCROLLING MOUSE CONTROLLER
DESCRIPTION
The UT84520 Scrolling Mouse Controller is specially designed to control PS/2 mouse deviceThis single chip can interface with three key-switches and 4X-Y photo-couples plus Z-axis directly to 8042 controller There are four types of Z-axis inputs used to implement scrolling mouse functionality
CMOS IC
FEATURES
*Using 50K+5% resistor for RC oscillation *Compatible with legacy PS/2 mouse *Compatible with Microsoft PS/2 scrolling mouse *Built-in noise immunity circuit *The sampling rate of motion detector is up to 65KHz *Built-in three step dynamic input impedance
DIP-16
*Three key-switches and four photo-couples inputs *Photo couple test mode included *Low power dissipation *Two types Z direction input: 1.Photo couples input 2.Mechanical input
UTC
UNISONIC TECHNOLOGIES CO., LTD.
1
QW-R502-004,A
UTC UT84520
Pin Assignment
VDD O SC.O UT Z1 Z2 CLK DATA O PT VSS 1 2 3 4 5 6 7 8 16 15 14 13 12 11 10 9 OSCR Y2 Y1 X2 X1 L M R
CMOS IC
Pin Descriptions
Pin No
1 2 3 4 5 6 Symbol Vdd OSC.OUT Z1 Z2 CLK DATA I/O P O I I I/O I/O Function Power line The RC oscillation clock output. Or 3mA sink current output for X, Y photo emitters Z-axis input. Photo mode: three steps dynamic input impedance. Connect to 8042 auxiliary port CLK line in PS/2 mode. Connect to 8042 auxiliary port DATA line in PS/2 mode. Input: 200Kohm pull low to Vss. 7 OPT I When Opt is connected to Vdd, UT84520 will enter test mode. In test mode, L will be the output of X1, while M will be the output of X1. Toggling R key can change these output to be Y1, Y2 or Z1, Z2 respectively. 8 9 10 11 12 13 14 15 16 Vss R M L X1 X2 Y1 Y2 OSCR P I I/O I/O I I I I I Connect 50Kohm 5% for oscillation Power line Gnd Three key switches inputs. 200Kohm pull low. In Z-axis key mode, M key toggling can change the scrolling speed from low to high Three step dynamic input impedance. If OSC.OUT is not connected to LEDs, the dynamic input impedance will be off.
UTC
UNISONIC TECHNOLOGIES CO., LTD.
2
QW-R502-004,A
UTC UT84520
Functional Block Diagram
CMOS IC
Z1
T h re e T yp e s S e le c to r C o m p a ra to r V o lta g e S e n s o r
Z2
Z -A x is C o u n te r
OPT
Motion Detector
X1 X2 Y1 Y2
Comparator
C o u n te r
M u ltip le x e r
D a ta I/O
DATA C LK
C om m and S ta tu s
L
Debounce
M
S ys te m C lo c k G e n e ra to r
T im in g C o n tro lle r
R
R C O s c illa tio n
OSCR O S C .O U T
ABSOLUTE MAXIMUM RATINGS
PARAMETER
Supply voltage Power dissipation Temperature under bias Storage Temperature
VALUE
-0.3~7.5 500 0~70 -65~150
UNIT
V mW
UTC
UNISONIC TECHNOLOGIES CO., LTD.
3
QW-R502-004,A
UTC UT84520
DC Electrical Characteristics (Ta = 25
PARAMETER
X1,X2,Y1,Y2,Z1,Z2 (photo mode) Low input reference current X1,X2,Y1,Y2,Z1,Z2 (photo mode) High input reference current X1,X2,Y1,Y2,Z1,Z2 (photo mode) Input current (input impedance) ( 80uA) X1,X2,Y1,Y2,Z1,Z2 (photo mode) Input current (input impedance) ( 500uA) L,M,R,OPT, Input low voltage L,M,R,OPT, Input high voltage L,M,R Input current (Vin = 5V) OPT Input current L,M,R,X1,X2,Y1,Y2,Z1,Z2 Input leakage current (Vin = 0V) OPT Input leakage current (Vin = 5V) OSC.OUT Sink current ~70 ) SYMBOL Ipl Iph Vpl1 Vpl2 Vail Vaih Imi Ixi Iil Iih Iosc 3.5 18 -18 0 0 3 0.8 1.5
CMOS IC
MIN
70 106 1.2 2.1 1.5 56 -56 -1.0 1.0 3.6
TYP
MAX
UNIT
uA uA V V V V uA uA uA UA MA
PS/2 mouse mode : (Ta = 25
Operating voltage Operating current (no load) CLK, DATA Positive-going threshold voltage CLK, DATA Negative-going threshold voltage DATA, CLK Input current (Vin = 0V) DATA, CLK Low output voltage (Iprl = -2mA)
to 70 ) SYMBOL Vdd Iop Vt+ VtIdc Vprl 3.2 1.2 0.56
PARAMETER
MIN
4.5
TYP
5
MAX
5.5 1 3.8 1.9 1.86 0.4
UNIT
V mA V V mA V
*ll parameters in above table are compared with VSS.
UTC
UNISONIC TECHNOLOGIES CO., LTD.
4
QW-R502-004,A
UTC UT84520
AC Electrical Characteristics (Ta = 25
PARAMETER
Oscillating Frequency Key Debounce Rising Edge Crossed Width Falling Edge Crossed Width Mouse CLK Active Time Mouse CLK Inactive Time Time that Mouse Sample DATA from CLK rising Edge System CLK Active Time System CLK Inactive Time Time from DATA Transition to Falling Edge of CLK Time from rising Edge of CLK to DATA trasition Time to mouse Inhibit after the 11th CLK to ensure mouse does not start another Transmission to 70 ) SYMBOL Fosc Tkd Tr Tf Tmca Tmci Tmdc Tsca Tsci Tsdc Tscd Tpi 0 13.5 13.5 40.5 40.5 13.5 40.5 40.5 13.5 27.0
CMOS IC
MIN
37-3%
TYP
37 12
MAX
37+3%
UNIT
KHz ms s s s s s s s s s
50
s
Timing Diagram
(A) Photo-couples pulse width
X1(Y1)
X2(Y2)
Tr
Tf
UTC
UNISONIC TECHNOLOGIES CO., LTD.
5
QW-R502-004,A
UTC UT84520
(B) Receiving Data
CMOS IC
Inhibit
CLK
1st Clk
2nd Clk
9th Clk
10th Clk
11th Clk
Tmci
T mca
Tmdc
DATA Parity Bit Stop Bit Line Control bit
Start Bit
Bit0 - Bit7
(C) Sending Data
1st Clk CLK
2nd Clk
10th Clk
11th Clk
Tsci
Tsca
Tsdc
Tscd
DATA Parity Bit Start Bit Bit0 - Bit7 Stop Bit Line Control bit
UTC
UNISONIC TECHNOLOGIES CO., LTD.
6
QW-R502-004,A
UTC UT84520
CMOS IC
0.1F 1K 0.1F
2
1
2
1
2
1
2
1
2 SW2 1
SW1
2
1
1
SW3
2
16
15
14
13
50K 12 11 10 M X1 9 R
OSCR
Y1
OSC.OUT Y2
X2
L
U1
DATA OPT CLK VSS 8 1
VDD
UT84520
Z1
1
Z2
2
3
4
5
2
1
6 2
7
J1 CON4
UTC
UNISONIC TECHNOLOGIES CO., LTD.
1 2 3 4
7
QW-R502-004,A
UTC UT84520
Function Descriptions
Legacy PS/2 mouse operating A) Operating mode There are four operating modes in PS/2 mouse: a. Reset mode:
CMOS IC
In this mode a self-test in initiated during power-on or by a Reset command. After reset signal, PS/2 mouse will (a) Send completion code AA & ID code 00. (b) Set default: Sampling rate: 100 reports/s Non-autospeed Stream mode 2 dots/count Disable b. Stream Mode: The maximum rate of transfer is the programmed sampling rate. Data report is transmitted if (a) switch is pressed (b) movement has been detected c. Remote Mode: Data is transmitted only in response to a Read Data command d. Wrap Mode: Any byte of data sent by the system. Except hex EC (Reset Wrap mode) or hex FF (Reset). Is returned by UT84520. B).PS/2 Mouse Data Report a). In stream mode: A data report is sent at the end of a sampling interval. b). In remote mode: A data report is sent in response to Read Data command c). Data report format: Byte 1 Bit 0 1 2 3 4 5 6 7 2 3 Description Left button status; l=pressed Right button status; 1=pressed Middle button status; 1=pressed Reserve X data sign; 1=negative Y data sign; 1=negative X data overflow; 1=overflow Y data overflow; 1=overflow
0-7 X data (D0-D7) 0-7 Y data (D0-D7)
UTC
UNISONIC TECHNOLOGIES CO., LTD.
8
QW-R502-004,A
UTC UT84520
C) PS/2 mouse Data Transmission:
CMOS IC
a) UT84520 generates the clocking signal when sending data to and receiving data from the system. b) The system requests UT84520 receive system data output by forcing the DATA line to an inactive level and allowing CLK line to go to an active level. c) Data transmission frame Bit 1 2-9 10 11 Funtion Start bit( always 0 ) Data bits (D0-D7 ) Parity bit (odd parity) Stop bit (always 1)
d). Data Output (data from UT84520 to system ) If CLK is low (inhibit status), data is no transmission. If CLK is high and DATA is low (request-to-send), data is updated. Data is received from the system and no transmission are stared by UT84520 until CLK and DATA both high. If CLK and DATA both are high, the transmission is ready. DATA is valid prior to the falling edge of CLK and beyond the rising edge of CLK. During transmission, UT84520 check for line contention by checking for an inactive level on CLK at intervals not to exceed l00u sec Contention occurs when the system lowers CLK to inhibit UT84520 output after UT84520 has started a transmission. If this occurs before the rising edge of the tenth clock, UT84520 internally store its data in its buffer and returns DATA and CLK to an active level. If the contention does not occur by the tenth clock, the transmission is complete Following a transmission the system inhibits UT84520 by holding CLK low until it service the input or until the system receives a request to send a response e).Data Input (from system to UT84520 ) The system first check if UT84520 is transmitting data. If UT84520 is transmitting, the system can override the output forcing CLK to an inactive level prior to the tenth clock. If UT84520 transmission is beyond the tenth clock, the system receives the data. If UT84520 is not transmitting or if the system choose to override the output, the system force CLK to an inactive level for a period of not less than 100u sec while preparing for output. When the system is ready to output start bit (0), it allows CLK go to active level. lf request-to-send is detected UT84520 clocks 11 bits. Following the tenth clock UT84520 checks for an active l evel on the DATA line, and if found, force DATA low, and clock once more. If occurs framing error, UT84520 continue to clock until DATA is high, then clocks the line control bit and request a Resend. When the system sends out a command or data transmission that requires a response, the system waits for UT84520 to respond before sending its next output. D).PS/2 Mouse Error Handling a). A Resend command (FE ) following receipt of an invalid input or any input with incorrect parity b). If two invalid input are received in succession, an error code of hex (FC) is send to the system. c).The counter accumulators are cleared after receiving any command except "Resend". d). UT84520 receives a Resend command (FE),it transmit its last packet of data e). ln the stream mode "Resend" is received by UT84520 following a 3-byte data packet transmission to the system. UT84520 resend the 3-byte data packet prior to clearing the counter. from UT84520.
UTC
UNISONIC TECHNOLOGIES CO., LTD.
9
QW-R502-004,A
UTC UT84520
f). A response is sent within 25ms if a).The system requires a response b).An error is detected in the transmission g).UT84520 is in the stream mode a).The system disables UT84520 before issuing any command requiring a response
CMOS IC
b).When a command requiring a response is issued by the system, another command should not be issue until either the response is received or 25ms has passed. E). PS/2 Mouse Command Description There are 16 valid commands that transmits between the system and UT84520. The"FA" code is always the first response to any valid input received from the system other than a Set Wrap Mode or Resend command The following table list the commands: Hex Code FF FE F6 F5 F4 F3,XX F2 F0 EE EC EB EA E9 E8,XX E7 E6 Command Reset Resend Set Default Disable Enable Set Sampling Rate Read Device Type Set Remote Mode Set Wrap Mode Reset Wrap Mode Read Data Set Stream Mode Status Request Set Resolution Set Auto-speed Reset Auto-speed UT84520 echo code FA,AA,00 XX,(XX,XX) FA FA FA FA,FA FA,00 FA FA FA FA,XX,XX,XX FA FA,XX,XX,XX FA,FA FA FA
The following describes valid commands a). Reset (FF) UT84520 operation: a).Completion the reset b). Transmitted FA, AA, 00 to the system. c). Set default: sampling rate: 100 reports/s non-autospeed stream mode 2 dots/count disable
UTC
UNISONIC TECHNOLOGIES CO., LTD.
10
QW-R502-004,A
UTC UT84520
b).Resend (FE)
CMOS IC
a). Any time UT84520 receives an invalid command, it returns a Resend command to the system. b). When UT84520 receives a Resend command, it retransmits its last packet of data. If the last packet was a Resend command, it transmits the packet just prior to the Resend command. c). In Stream mode, if a Resend command is received by UT84520 immediately following a 3-byte data packet transmission to the system c). Set Default (F6) The command initializes all condition to the Power-on defaults d). Disable (F5) This command is used in the stream mode to stop transmissions from UT84520 e). Enable (F4 ) Begins transmissions. If in stream mode. f). Set Sampling Rate (F3,XX ) In the stream mode, this command sets the sampling rate to the value indicated by byte hex XX, Shown in following: Second byte XX 0A 14 28 3C 50 64 C8 g). Read Device Type (F2) UT84520 always echoes "FA, 00" following this command h). Set Remote Mode (F0) Data value are reported only in response to a Read Data command i). Set Wrap Mode (EE) Wrap mode remains until Reset (FF) or Reset Wrap Mode (EC) is received j).Reset Wrap Mode (EC) UT84520 returns to the previous mode of operation after receiving this command k). Read Data (EB ) This command is executed in either remote or stream mode. The data is transmitted even if there has been no movement since the last report or the button status is unchanged. Following a Read Data command, the registers are cleared after a data transmission. l). Set Stream Mode (EA) This commnd sets UT84520 in stream mode. m). Status Request (E9) When this command is issued by the system, UT84520 respond with a 3-byte status report as following: Sample Rate 10/sec 20/sec 40/sec 60/sec 80/sec 100/sec 200/sec
UTC
UNISONIC TECHNOLOGIES CO., LTD.
11
QW-R502-004,A
UTC UT84520
Byte 1 Bit 0 1 2 3 4 5 6 7 2 3 0-7 0-7 Description 1 = Right button pressed 1 = Middle button pressed 1 = Left button pressed Reserved 0 = Normal speed, 1 = Autospeed 0 = Disabled, 1 = Enabled 0 = Stream mode, 1 = Remote mode Reserved Current resolution setting (D0 - D7) Current sampling rate (D0 - D7)
CMOS IC
n). Set Resolution (E8,XX) UT84520 provides four resolutions selected by the second byte of this command as following: Second Byte XX 00 01 02 03 o). Set Autospeed (E7) At the end of a sample interval in the stram mode, the current X and Y data values are converted new values. The sign bits are not involved in this conversion. The conversion is only in stream mode. The relationship between the input and output count is as following: Input 0 1 2 3 4 5 N6 p). Reset Autospeed (E6) This command restore normal speed (III). Microsoft PS/2 scrolling mouse mode: (A)Entering procedure: Except in Wrap mode, while UT84520 received the following consecutive command: i. F3 C8 ii. F3 64 iii F3 50 for set sampling rate 200/sec for set sampling rate 100/sec for set sampling rate 80/sec Output 0 1 1 3 6 9 2*N Resolution 8 dots/count 4 dots/count 2 dots/count 1 dots/count
UTC
UNISONIC TECHNOLOGIES CO., LTD.
12
QW-R502-004,A
UTC UT84520
(B) Operation: a. All the commands in legacy mode are still valid. b. The ID code for Read Device Type command (F2) is changed from "00" to "03". c. Data report is changed to four byte format: Byte 1 Bit 0 1 2 3 4 5 6 7 2 3 4 0-7 0-7 0-7 Description Left button status; 1 = pressed Right button status; 1=pressed Middle button status; 1=pressed Reserve X data sign; 1=negative Y data sign; 1=negative X data overflow; 1=overflow Y data overflow; 1=overflow X data (D0-D7) Y data (D0-D7) Z data (D0-D7)
CMOS IC
C) Exit for Microsoft scrolling mode: There are two ways to exit: a. Power off b. Reset command (FF). (IV). Z-axis Input Function: (a). Photo couples input: Z-axis counter accumulates the Z1, Z2 phase changed by movement. (b). Mechanical mode: The same as optical wheel mode.
UTC assumes no responsibility for equipment failures that result from using products at values that exceed, even momentarily, rated values (such as maximum ratings, operating condition ranges, or other parameters) listed in products specifications of any and all UTC products described or contained herein. UTC products are not designed for use in life support appliances, devices or systems where malfunction of these products can be reasonably expected to result in personal injury. Reproduction in whole or in part is prohibited without the prior written consent of the copyright owner. The information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable and may be changed without notice.
UTC
UNISONIC TECHNOLOGIES CO., LTD.
13
QW-R502-004,A


▲Up To Search▲   

 
Price & Availability of UT84520

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X